export OPENSSL_STATIC=1
export OPENSSL_INCLUDE_DIR=/usr/local/include

export OPENSSL_LIB_DIR=/usr/local/lib/arm64
cargo build -r --target=aarch64-apple-darwin

export OPENSSL_LIB_DIR=/usr/local/lib/x86_64
cargo build -r --target=x86_64-apple-darwin

lipo -create target/x86_64-apple-darwin/release/gitspy target/aarch64-apple-darwin/release/gitspy -output target/gitspy
